{:ui()->row()}
{:ui()->card(['title'=>'banner管理(最大可传5张,跳链根据图片上次位置定)'])}
<form class="layui-form" action="txtSub">
    {:ui()->largeUpload(['accept'=>'images','title'=>'banner图',
    'filenum'=>5,'id'=>'banner','max'=>'1024000','value'=>$img])}


    {if condition="isset( $data[0]['href'] )"}
    {:ui()->input(['title'=>'banner1跳链','name'=>'href1','pla'=>'请输入跳链地址','value'=>$data[0]['href']])}
    {else /}
    {:ui()->input(['title'=>'banner1跳链','name'=>'href1','pla'=>'请输入跳链地址'])}
    {/if}

    {if condition="isset($data[1]['href'])"}
    {:ui()->input(['title'=>'banner2跳链','name'=>'href2','pla'=>'请输入跳链地址','value'=>$data[1]['href']])}
    {else /}
    {:ui()->input(['title'=>'banner2跳链','name'=>'href2','pla'=>'请输入跳链地址'])}
    {/if}

    {if condition="isset($data[2]['href'])"}
    {:ui()->input(['title'=>'banner3跳链','name'=>'href3','pla'=>'请输入跳链地址','value'=>$data[2]['href']])}
    {else /}
    {:ui()->input(['title'=>'banner3跳链','name'=>'href3','pla'=>'请输入跳链地址'])}
    {/if}

    {if condition="isset($data[3]['href'])"}
    {:ui()->input(['title'=>'banner4跳链','name'=>'href3','pla'=>'请输入跳链地址','value'=>$data[3]['href']])}
    {else /}
    {:ui()->input(['title'=>'banner4跳链','name'=>'href4','pla'=>'请输入跳链地址'])}
    {/if}

    {if condition="isset($data[4]['href'])"}
    {:ui()->input(['title'=>'banner5跳链','name'=>'href5','pla'=>'请输入跳链地址','value'=>$data[4]['href']])}
    {else /}
    {:ui()->input(['title'=>'banner5跳链','name'=>'href5','pla'=>'请输入跳链地址'])}
    {/if}

    {:ui()->subBtn()}
</form>
{:ui()->card('/')}
{:ui()->row('/')}
